#include <stdio.h>

int main()
{
    float math, physis, chemistry;
    printf("Input math physis chemistry score in order \n");
    scanf("%f%f%f", &math, &physis, &chemistry);
    if ( (math+physis+chemistry >= 200 ) || (math + physis >= 150) ) 
    {
        printf("Yes\n");
    }
    else
    {
        printf("No\n");
    }
    
    return 0;
}